<?php
// *** Tangra (Application Framework and Tools for PHP)
// $Id$
//

require_once($PATHS->get_hidden().'inc/modules/tple_smarty/tple_smarty.class.php');

Class Tple extends Tple_Smarty {
	function __construct() {
		global $tple_smarty_config_loader;

		parent::__construct();

		$this->set_tpl_dir($tple_smarty_config_loader->get_tpl_dir());
		$this->set_compile_dir($tple_smarty_config_loader->get_compile_dir());
		$this->set_cache_dir($tple_smarty_config_loader->get_cache_dir());
		$this->set_caching($tple_smarty_config_loader->get_caching());
		$this->set_additional_plugins_directories($tple_smarty_config_loader->get_additional_plugins_directories());
	}
}

